package com.zilue;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by ZD on 2017/5/24.
 */
@RestController
@EnableAutoConfiguration
@SpringBootApplication
@EnableEurekaClient
public class Application {

    @RequestMapping("/")
    public String index(){
        return "Hello Blance! -HFPAY";
    }

    public static void main(String[] args) {
        SpringApplication.run(Application.class,args);
    }
}
